﻿using System;
using System.Linq;
using Easy.Authorization.Models;
using Easy.Common.RegisterType;


namespace Easy.Authorization.Service
{
    [RegisterType(typeof(Aut_UsersService), InterceptorType.Interface)]
    public interface IAut_UsersService
    {
        void CreateNew(Aut_Users aut_User);

        void Update(Aut_Users aut_User);

        void Delete(Aut_Users aut_User);

        IQueryable<Aut_Users> GetPaged(int pageIndex = 0, int pageCount = 25, string where = "", string orderBy = "");

        Aut_Users FindById(Guid id);

        Aut_Users FindByUserame(string username);
    }
}
